// EngineTests.cpp : main project file.

#include "stdafx.h"

#include "EngineTests.h"

using namespace System;
using namespace DbReader;

int main(array<System::String ^> ^args)
{
	InitEngine();

	//SetDatabaseReaderDirectory(L"c:\\EndGame");
	//ReaderDbInit(256);
	//PreloadDatabase();


	//DumpRayAttacks();

	//TestStartUpPosition();

	//if(BitBoardTest1() == true)
	//	Console::WriteLine(L"Error.");
	//else
	//	Console::WriteLine(L"Success.");

	//if(BitBoardMatchTest() == true)
	//	Console::WriteLine(L"Error.");
	//else
	//	Console::WriteLine(L"Success.");

	//if(BitBoardMatchTest2() == true)
	//	Console::WriteLine(L"Error.");
	//else
	//	Console::WriteLine(L"Success.");

	//if(BitBoardMatchTest3() == true)
	//	Console::WriteLine(L"Error.");
	//else
	//	Console::WriteLine(L"Success.");

	//if(BitBoardMatchTest4() == true)
	//	Console::WriteLine(L"Error.");
	//else
	//	Console::WriteLine(L"Success.");


	//if(BitBoardMatchTest5() == true)
	//	Console::WriteLine(L"Error.");
	//else
	//	Console::WriteLine(L"Success.");

	//if(BitBoardMatchTest6() == true)
	//	Console::WriteLine(L"Error.");
	//else
	//	Console::WriteLine(L"Success.");


	Group3Test1();



    Console::WriteLine(L"Test done.");


	ReaderDbExit();

    return 0;


}
